﻿using NewFormatProject.Infrastructure.Atrributes;
using NewFormatProject.Infrastructure.Dto.Requests.Objects;
using NewFormatProject.Infrastructure.Dto.Responses;
using System.Threading.Tasks;

namespace NewFormatProject.Server.Interfaces
{
    [ProvideClassOrInterface]
    public interface IJobServer
    {
        Task<ResponseApiDto> Detail(int id);
        Task<ResponseApiDto> Pagination(int page, int limit, string key);
        Task<ResponseApiDto> GetJobByDepartmentId(int id);
        Task<ResponseApiDto> Add(RequestJobsDto dto);
        Task<ResponseApiDto> Delete(RequestJobsDto dto);
        Task<ResponseApiDto> Update(RequestJobsDto dto);

    }
}
